package com.example.service;

import com.example.pojo.ResponseVo;
import com.example.pojo.SbMessageVo;
import org.springframework.stereotype.Service;

import java.util.Map;


public interface SbMessageService {
    ResponseVo UserSbMeesage();

    ResponseVo devicLocation(String sbid);

    ResponseVo deviceTrackPlayBack(String sbid, String startTime, String endTime);

    ResponseVo updateById(SbMessageVo message);

    ResponseVo insert(SbMessageVo message);

    ResponseVo deleteById(Long id);

    ResponseVo MileageStatistics(String sbid);

    ResponseVo ElectronicFenceInformation(String sbid);

    ResponseVo openElectronicFenceInformation(String sbid);

    ResponseVo closeElectronicFenceInformation(String sbid);

    ResponseVo SaveElectronicFenceInformation(Map<String, String> map);

    ResponseVo openState(String sbid);
}
